type UmsAdminParam = {
    username: string,
    password: string,
    icon?: string,
    email?: string,
    nickName?: string,
    note?: string
}

type LoginParam = {
    mobile: string,
    passwd: string,
    key: string,
    code: string,
}

type CaptchaImage = {
    key: string,
    image: string,
}

type QrcodeImage = {
    image: string,
    image_url: string,
    ticket: string,
}

type messageUpload = {
    message: string,
    name: string,
    avatar: string,
    role: string, // role_name
}

type messageDownload = {
    message: string,
    name: string,
    avatar: string,
    role: string,
    timestamp: number,
}